package com.tau.iplayer.client;

import java.util.List;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.tau.iplayer.client.models.Track;

@RemoteServiceRelativePath("youtube")
public interface YoutubeDataService extends RemoteService {

	/**
	 * search YouTube for a song title
	 * @param searchTitle the song title to search for in YouTube
	 * @return a list of tracks representing the search results
	 */
	List<Track> searchVideo(String searchTitle);

}